﻿using XinLife.Model;
using XinLife.Core.Model;

namespace XinLife.Application.Interface
{
    public interface IRoleService
    {
        Task<object> GetRolePageList(Pagination page, string queryJson);
        Task<AjaxResult> GetRoleByIdAsync(string id);
        Task<AjaxResult> EditRoleAsync(Role role);
        Task<AjaxResult> DelRoleAsync(string ids);
        Task<AjaxResult> GetRoleAuthListAsync(string roleId);
        Task<AjaxResult> SaveRoleAuth(RoleAuthInputDto roleAuthInputDto);
        Task<object> GetRoleList();

    }
}
